package com.edu.mapper;
/*
 * @Author:princess
 * @Date 2023/10/9 10 09 18:40
 *
 */

import com.edu.bean.Book;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookMapper {
    Page<Book> selectAll();
    List<Book> selectByBookType(String type);
    List<Book> selectByBook(Book book);
    List<Book> selectBook(@Param("book") Book book,@Param("pageNum") int pageNum,@Param("pageSize") int pageSize);

}
